package com.example.aicloud.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.aicloud.entity.Comment;
import com.example.aicloud.entity.vo.CommentVO;
import com.example.aicloud.mapper.CommentMapper;
import com.example.aicloud.service.CommentService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (Comment)表服务实现类
 *
 * @author makejava
 * @since 2024-07-14 20:05:12
 */
@Service("commentService")
public class CommentServiceImpl extends ServiceImpl<CommentMapper, Comment> implements CommentService {

    @Override
    public List<CommentVO> getCommentList(Long did) {
        return baseMapper.getCommentList(did);
    }
}

